From 83b3d6ce35e32fca01280d113731cd121d56967b Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Sun, 27 Nov 2005 01:02:36 +0000 Subject: [PATCH] Use the getId method to tidy up simple call to domid. Signed-off-by: Ewan Mellor --- tools/xm-test/lib/XmTestLib/XenDomain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xm-test/lib/XmTestLib/XenDomain.py b/tools/xm-test/lib/XmTestLib/XenDomain.py index 7bacf2b683..0b07ae9835 100644 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py @@ -89,7 +89,7 @@ class XenDomain: ret, output = traceCommand(commandLine); try: - self.domID = int(domid(self.domName)); + self.domID = self.getId() except: self.domID = -1; -- 2.30.2